package com.itheima.d1_countType;

/**
 * @author Dushaohua
 * @date 2024/4/15 9:15
 */
public class Test1 {
    public static void main(String[] args) {
        //整形：四种类型
        //byte类型，一个字节
        byte num = 127;
        //short类型
        short a = 3476;
        //int类型，默认类型
        int age = 28;
        //long长整型,整数默认为int类型，定义long类型需要加L/l
        long num3 =574895378904L;

        //浮点型（小数型）
        //float,浮点型默认为double类型，定义float类型需要加F/f
        float height = 183.2F;
        //double类型
        double num4 = 2312.43;

        char ch = 65;
        System.out.println(ch);

        byte f = 123;
        int h =f;
        System.out.println(h);

        byte q = 75;
        short w = 4789;
        int r = 3498;
        double t = 23476;
        int rs = q + w;
        double rs1 = w + t;
    }
}
